package com.sskj.lib.bean;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

import java.io.Serializable;

import javax.annotation.Nullable;

@Entity()
public class AddressBean implements Serializable {
    /**
     * id : 1
     * address : 0xs13a2d1asd
     * notes : 1002
     * type : 1
     */
    @Nullable
    @PrimaryKey(autoGenerate = true)
    private Integer id;
    private String address;
    private String notes;
    private String phone;
    private String code;

    public AddressBean() {
    }

    public AddressBean(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Nullable
    public Integer getId() {
        return id;
    }

    public void setId(@Nullable Integer id) {
        this.id = id;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }


}


